package com.huaxia.day9.immutable;

public class ImmutableObjTest {
    public static void main(String[] args) {
        ImmutableObj obj = new ImmutableObj("1311449954");
        //不可变
        //obj.idCard = "sddgs";
        System.out.println(obj.getIdCard());
    }
}
